Designing multi-agent unit tests using systematic test design patterns-(extended version)

نویسندگان

  • Mohamed A. Khamis
  • Khaled Nagi
چکیده

Software agents are the basic building blocks in many software systems especially those based on artificial intelligence methods, e.g., reinforcement learning based multi-agent systems (MASs). However, testing software agents is considered a challenging problem. This is due to the special characteristics of agents which include its autonomy, distributed nature, intelligence, and heterogeneous communication protocols. Following the test-driven development (TDD) paradigm, we present a framework that allows MAS developers to write test scenarios that test each agent individually. The framework relies on the concepts of building mock agents and testing common agent interaction design patterns. We analyze the most common agent interaction patterns including pair and mediation patterns in order to provide stereotype implementation for their corresponding test cases. These implementations serve as test building blocks and are provided as a set of ready-for-reuse components in our repository. This way, the developer can concentrate on testing the business logic itself and spare him/her the burden of implementing tests for the underlying agent interaction patterns. Our framework is based on standard components such as the JADE agent platform, the JUnit framework, and the eclipse plugin architecture. In this paper, we present in details the design and function of the framework. We demonstrate how we can use the proposed framework to define more stereotypes in the code repository and provide a detailed analysis of the code coverage for our designed stereotype test code implementations.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Knowledge Management System Design using Extended Gaia

An efficient Learning resource centre can be achieved with the help of a network of collaborating, coordinating and communicating software agents. Agent-oriented techniques represent an exciting new means of analysing, designing and building complex software systems. The designing of the interacting agents is done with the help of Gaia, extended for the multiagent systems. Gaia is a methodology...

متن کامل

Agile PASSI: An agile process for designing agents

We have been developing robotic multi-agent systems for several years according to a well defined methodology (PASSI) obtaining good results, but day by day needs of a more versatile approach for designing software in a research context suggested us to find out a new methodology. A solution to our problems is represented by the Agile version of the PASSI methodology we present in this paper. We...

متن کامل

Pattern-Oriented Design for Multi-Agent System: A Conceptual Model

Design patterns represent solutions to specific problem of developing one application that have evolved over time. They leverage the reuse level to the design phase by providing a common vocabulary of design, means of understanding designs and proven building blocks from which more complex applications are built. Much of the research work on design patterns in agent world has primarily focused ...

متن کامل

Pattern-Oriented Design for Multi-Agent System : A Process Framework

Agent design patterns represent solutions to the specific problem of developing multi-agent based applications that have evolved over time. They leverage the reuse level to the design phase by providing a common vocabulary of design, means of understanding designs and proven building blocks from which more complex applications are built. Much of the research work on agent design patterns has pr...

متن کامل

ForMAAD Method: An Experimental Design for Air Traffic Control

This paper proposes a formal methodology for designing multi-agent systems based on stepwise refinements. The main contribution consists in providing a set of methodological principles and hints which help the user to build, in a systematic and incremental way, a correct design specification starting from an abstract requirements one. This method will be illustrated by developing a multi-agent ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Eng. Appl. of AI

دوره 26  شماره 

صفحات  -

تاریخ انتشار 2013